package strategy

type MinDelayStrategy struct{}

func (s *MinDelayStrategy) GetType() ConstraintType {
	return MinDelay
}

func (s *MinDelayStrategy) Evaluate(current MultiObjectiveScore, link *LinkWithAttrs) MultiObjectiveScore {
	newScore := append(MultiObjectiveScore{}, current...)
	newScore[1] += link.Delay
	return newScore
}

func (s *MinDelayStrategy) Apply(args ...interface{}) bool {
	return true
}
